package atest.reopen.session.multipleResult;

import atest.model.Student;
import org.apache.ibatis.executor.resultset.ResultSetHandler;

import java.util.List;
import java.util.Map;



public interface StudentMapper {
	
	public List<Student> selectStudentByMap(Map<String, Object> map);
	
	public List<Student> selectStudentByIds(List<Integer> ids);
	
	/**
	 * @param ids
	 * @param handler
	 * 		自定义handler
	 * @return
	 */
	public List<Student> selectStudentByIds(List<Integer> ids, ResultSetHandler handler);
	
	public Student selectStudentById(Long id);
	
	public List<?> selectStudentAndTeacher();
}
